﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="newproduct.ascx.cs" Inherits="CustomTool_newproduct" %>
<%-- 最新产品 --%>
<div style="width:660px">
   <asp:DataList id="DataList1" runat="server" RepeatColumns="4" 
        RepeatDirection="Horizontal" Width="660px" CellPadding="4" 
        ForeColor="#333333">
	    <ItemTemplate>
            <table cellpadding="2" cellspacing="0" border="0" >
                <tr align="center">           
                  <td align="left" style="width:150px">
                  <a href='productDetail.aspx?Book_Idint=<%# DataBinder.Eval(Container.DataItem,"Book_Idint")%>' >
                      <img src='<%# DataBinder.Eval(Container.DataItem,"Book_Coverstr")%>' style="border:solid 1px #C0C0C0" alt="" width="150px" height="150px"  title="<%# DataBinder.Eval(Container.DataItem, "Book_Namestr")%>"/>
                  </a>  				      
			      </td>
                </tr>
                <tr>
                  <td style="width:150px; height:55px; vertical-align:text-top">
                    <a title="查看详细资料" href='productDetail.aspx?Book_Idint=<%# DataBinder.Eval(Container.DataItem,"Book_Idint")%>'>
			         <font color="#0033CC"><%# DataBinder.Eval(Container.DataItem, "Book_Namestr")%></font>
			      </a>
                  </td>
                </tr>
                <tr>
                  <td style="width:150px">
                    <b>&yen;<font color="red"><%# DataBinder.Eval(Container.DataItem, "sellprice")%></font></b>
                  </td>
                </tr>
                <tr>
                  <td style="width:150px">
                      <font color="black" >成交<%# DataBinder.Eval(Container.DataItem,"sellCount" )%>笔</font>	
                  </td>
                </tr>
            </table>
	    </ItemTemplate>
        <ItemStyle BackColor="White" ForeColor="#333333" />
    </asp:DataList>
</div>
<div style="height:20px; width:660px; text-align:right">
  <a href="productShow.aspx?url=productList.aspx?IsNewProduct=1" ><img src="CustomTool/image/AllProduct.png" alt="查看所有" /></a>
  <%--最新产品的IsNewProduct设为1--%>
  <%--推荐产品的IsHotProduct设为1--%>
</div>


